from django.urls import path

from userApp import views
from userApp.views import get_month_data, get_month_air, get_city_data, get_city_month_data, screendata, \
    list_all_weatherInfo, get_available_months, get_weather_data

urlpatterns = [
    path('login', views.login, name='login'),
    path('register', views.register, name='register'),
    path('index', views.index, name='index'),
    path('logOut', views.logOut, name='logOut'),
    path('userinfo', views.userinfo, name='userinfo'),
    path('pwdchange', views.pwdchange, name='pwdchange'),
    path('monthTempChar', views.monthTempChar, name='monthTempChar'),
    path('monthAirCha', views.monthAirCha, name='monthAirCha'),
    path('chatAI', views.chatAI, name='chatAI'),
    path('chat/', views.chat, name='chat'),
    path('weatherforecast/', views.weatherforecast, name='weatherforecast'),
    path('weather_prediction/', views.weather_prediction, name='weather_prediction'),
    path('CityData', views.CityData, name='CityData'),
    path('CityMonth', views.CityMonth, name='CityMonth'),
    # 绘制大屏
    path('screen', views.screen, name='screen'),
    path('screendata/', screendata, name='screendata'),
    # 详情信息
    path('weather_deatil_view', views.weather_deatil_view, name='weather_deatil_view'),

    path('get_month_data/', get_month_data, name='get_month_data'),
    path('get_month_air/', get_month_air, name='get_month_air'),
    path('get_city_data/', get_city_data, name='get_city_data'),
    path('get_city_month_data/', get_city_month_data, name='get_city_month_data'),
    path("predict/", views.predict, name='predict'),
    path('list_all_weatherInfo/', list_all_weatherInfo, name='list_all_weatherInfo'),
    path('get_available_months/', get_available_months, name='get_available_months'),
    path('get_weather_data/', get_weather_data,name='get_weather_data'),

]